﻿<%@ Page Title="" Language="C#" MasterPageFile="/Common/Master.master" %>

<script runat="server">

</script>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentForm" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentHtml" runat="Server">
    <div class="easyui-layout tableEdit" data-options="fit:true,border:false">
        <div data-options="region:'center',border:false">
            <div class="z_wrap">
                <ul class="info">
                    <li>
                        <em class='l_name'>名称：</em>
                        <div class='r_con' id='name'></div>
                    </li>
                    <li>
                        <em class='l_name'>创建时间：</em>
                        <div class='r_con' id='addtime'></div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        $(function () {
            if ($.getUrlParamer("guid") != "") {
                DataBind();
            }
        });

        function DataBind() {
            $.InvokeAjax({
                url: "system_role/GetById",
                data: { id: $.getUrlParamer("guid") },
                callBack: function (result) {
                    var obj = result.Data;

                    $.SetValue("id", obj.id);
                    $.SetValue("name", obj.name);
                    $.SetValue("addtime", $.DateFormat(obj.addtime, 'yyyy-MM-dd HH:mm:ss'));
                    $.SetValue("adduserid", obj.adduserid);

                }
            });
        }
    </script>
</asp:Content>
